<?php $myLib=new myLib(); ?>
<?php $scountry = $sf_user->getAttribute('scountry'); ?>
  <div class="destacado" style="margin-top: 10px;">
      <div class="titulo">
          <div class="texto" style="background-color: #3d3e43;">
              OTROS ART&Iacute;CULOS DEL AUTOR
          </div>
      </div>
      <div class="contenido borde">
          <div class="interior">
              <table width="100%">
                  <tr>
                      <td><?php echo image_tag('/uploads/author/'.$autor->getId().'.jpg','size=50x50') ?></td>
                      <td>
                          <a href="<?php echo url_for('@profile?id='.$autor->getId()) ?>">
                              <?php if(count($array_users)>0){ ?>
                                <?php echo $array_users[0]->{'name'}.' '.$array_users[0]->{'lastName'} ?>
                              <?php }else{ ?>
                                <?php echo 'Autor Nombre Completo' ?>
                              <?php } ?>
                          </a>
                      </td>
                      <td align="right">
                          <?php include_component('includes','subscriptions', array('id' => $autor->getId())) ?></td>
                  </tr>
              </table>
              <div class="section">
                <div class="body related_list">
                    <ul style="padding: 5px;">
                      <?php foreach($same_owner_arts as $soart){ ?>
                        <li style="text-align: justify;">
                            <a href="<?php echo url_for('@article?id='.$soart->getId().'&slug='.$soart->getSlug()) ?>" style="margin-left: 0;font-weight: normal;">
                                <?php echo $soart->getTitle() ?></a>
                        </li>
                      <?php } ?>
                    </ul>
                    <br />
                    <div style="text-align: right;">
                        <a href="<?php echo url_for('@profile?id='.$autor->getId()) ?>" style="color: #0079CC;font-weight: normal;">
                            ver todos</a>
                    </div>
                </div>
              </div>
          </div>
      </div>
  </div>